import { createApp } from 'vue'
import './assets/style.css'
import 'animate.css'
import App from './App.vue'
import store from './store'

import { router } from './router'
import components from '@/components/autoload.js'
import 'remixicon/fonts/remixicon.css'

import tooltip from '@/directive/tooltip.js'
import drag from '@/directive/drag/directive.js'

import VueViewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'

import CKEditor from '@ckeditor/ckeditor5-vue'

const app = createApp(App)
app.use(components)
app.use(tooltip)
app.use(drag)
app.use(store)
app.use(router)
app.use(VueViewer)
app.use(CKEditor)

app.mount('#app')
